home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Communications Toolbox / CTB Sample Code 1.0b16 / CTB Sources / Sources 2 / Terminal Tool for CTB / tbnd.r < prev    next >
Encoding:
Text File  |  1989-06-27  |  1.8 KB  |  104 lines  |  [TEXT/MPS ]

  1. /* ================================================================== **
  2.  
  3.     Purpose:        Terminal tool main resource module.  Here
  4.         is where we define our simple check boxes for the 
  5.         TMChoose dialog, and also our config strings because
  6.         this tool utilizes them. 
  7.  
  8.     Module :        tbnd.r
  9.  
  10.     Authors:        Craig Hotchkiss, Alex Kazim, Byron Han, 
  11.                         Carol Lee
  12.                     Apple Computer, Inc.
  13.                     Networks & Communications
  14.                     20525 Mariani Drive
  15.                     Cupertino, CA 95014
  16.  
  17.     Version :        1.0d1
  18.  
  19.     Date :            9.may.89
  20.  
  21.     History :
  22.         9.may.89    Creation date
  23.  
  24.  
  25.     ©1989 Apple Computer, Inc.  All Rights Reserved.
  26.     This software is proprietary to Apple Computer, Inc.
  27.     It may not be copied, in whole or in part,
  28.     without the written consent of Apple Computer, Inc.
  29.  
  30. ** ==================================================================== */
  31.  
  32.  
  33. #include "SysTypes.r"
  34. #include "Types.r"
  35. #include "TMTypes.r"
  36.  
  37.  
  38.  
  39. resource 'tbnd' (1, "Terminal") {
  40.     {     
  41.         'DITL',  
  42.         {
  43.         1, 31000
  44.         },
  45.         'STR#',
  46.         {
  47.         0, 31000,
  48.         1, 31001
  49.         }
  50.     }
  51. };
  52.  
  53. resource 'STR#' (31000, "Config: English") {
  54.     {    /* array StringArray: 5 elements */
  55.         /* [1] */
  56.         "onlineBoolean",
  57.         /* [2] */
  58.         "screen132Boolean",
  59.         /* [3] */
  60.         "cursorStyleBoolean",
  61.         /* [4] */
  62.         "FALSE",
  63.         /* [5] */
  64.         "TRUE"
  65.     }
  66. };
  67.  
  68. resource 'STR#' (31001, "Config: French") {
  69.     {    /* array StringArray: 5 elements */
  70.         /* [1] */
  71.         "frenchOnlineBoolean",
  72.         /* [2] */
  73.         "frenchScreen132Boolean",
  74.         /* [3] */
  75.         "frenchCursorStyleBoolean",
  76.         /* [4] */
  77.         "Faux",
  78.         /* [5] */
  79.         "Vrai"
  80.     }
  81. };
  82.  
  83. resource 'DITL' (31000, "TConfig") {
  84.     {     /* array DITLarray: 3 elements */
  85.         /* [1] */
  86.         {25,20,45,150},
  87.         CheckBox {
  88.             enabled,
  89.             "Online?"
  90.         },
  91.         /* [2] */
  92.         {50,20,70,150},
  93.         CheckBox {
  94.             enabled,
  95.             "ScreenSize 132?"
  96.         },
  97.         /* [3] */
  98.         {75,20,95,150},     /* top, left, bottom, right  */
  99.         CheckBox {
  100.             enabled,
  101.             "Cursor Block?"
  102.         }
  103.     }
  104. };